package com.iss.ljx.department.service;

import com.iss.ljx.department.entity.DepartmentEntity;
import com.iss.ljx.mybatis.flexigrid.PadingRstType;
import com.iss.ljx.mybatis.flexigrid.PagingBean;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface DepartmentService {

    PadingRstType<DepartmentEntity> selectAll(@Param("paging") PagingBean paging);

    DepartmentEntity selectOneByBranchName(@Param("branchName") String branchName);

    void deleteById(@Param("depUuid") String depUuid);

    void insert(@Param("depUuid") String depUuid, @Param("organUuid") String organUuid,
                @Param("branchName") String branchName, @Param("belongCenter") String belongCenter,
                @Param("modifierId") String modifierId, @Param("modTime") String modTime,
                @Param("remark") String remark);
    void update(@Param("depUuid") String depUuid, @Param("organUuid") String organUuid,
                @Param("branchName") String branchName, @Param("belongCenter") String belongCenter,
                @Param("modifierId") String modifierId, @Param("modTime") String modTime,
                @Param("remark") String remark);



}
